import { RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/coupon',
    name: 'Coupon',
    redirect: '/coupon/index',
    meta: {
      title: '优惠券中心'
    },
    children: [
      {
        path: 'index',
        name: 'CouponIndex',
        component: () => import('@renderer/views/coupon/index.vue'),
        meta: {
          title: '',
          tab: false
        }
      }
    ]
  }
]

export default routes
